home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5504 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: ra.nrl.navy.mil!usenet
  2. From: jung@osse.nrl.navy.mil (Greg Jung)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Ceck out this bug. What the *** is SASC/6.56 doing?
  5. Date: 15 Mar 1996 20:48:56 GMT
  6. Organization: U.S.R.A/NRL
  7. Message-ID: <4icl3o$nf1@ra.nrl.navy.mil>
  8. References: <1120.6643T91T406@login.eunet.no> <4hvk1f$o0c@zeus.central.ntua.gr> <885.6646T9T693@login.eunet.no>
  9. NNTP-Posting-Host: ossep2.nrl.navy.mil
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.99.3
  12.  
  13. In article <885.6646T9T693@login.eunet.no>, 
  14. patrick.hanevold@login.eunet.no says...
  15. >
  16. >
  17. >>>Tryed "Stack check" and all that. No difference.
  18. >>>Anyway, the default stack is 4K isnt it?
  19. >>>Cant think of anything using that additional 1K.
  20. >>>Dont want it global. Allocate it myself now.
  21.   Just try doing it with "stack 20000" from the CLI, then its a 
  22.   stack problem, what's the big deal?  You think you're the first 
  23.   to accuse a compiler of a bug it never had? You think you'll
  24.   be the last?
  25. >>>
  26. >>OpenScreenTags() need stack too!! Together with the already used stack
  27. >>by _main, and the 3252 bytes of main(), you only have about 800 bytes
  28. >>left for OpenScreenTags(), might be too small. Stackcheck will not
  29. >>find this, because stackcheck does not know the stack-usage of
  30. >>OpenScreenTags().
  31. >
  32. >OpenScreenTags() doesnt crash. exit(0) does.
  33. >I guess it maby could mess up so exit(0) would crash.
  34. >Stach check should be smart enough to fail if there was too litle stack 
  35. left.
  36. >I would guess none of the OS calls would need more then 4K since thats 
  37. the
  38. >default stack size.
  39. >
  40.   The default stack size can be changed, and probably is at 4k for the
  41. minimum to run out-of-box sw.  So now you know what stack is, go ye
  42. and code some more.  Bring us something worthy of thy name!  Just
  43. stop the incredibly stubborn posturing we see in later posts. 
  44.  
  45. Greg Jung
  46.  
  47.